package com.craney.testFullScreen
{
	import com.craney.myRect.MyRect;
	
	import flash.display.Sprite;
	import flash.display.StageDisplayState;
	import flash.events.FullScreenEvent;
	
	public class TestFullScreen extends Sprite
	{
		public function TestFullScreen()
		{
			addChild(new MyRect());
		}
		
		public function get haha():String
		{
			stage.displayState = StageDisplayState.FULL_SCREEN;
			
			return "Successful!";
		}
		
		public function full(e:FullScreenEvent):void
		{
			trace(e.fullScreen);
			trace("I'm focusing on you!");
		}
	}
}